project(sprokit_test_pipeline_util)

set(CMAKE_FOLDER "Sprokit/Tests")

set(test_libraries
  sprokit_pipeline_util
  sprokit_pipeline
  vital_config
  vital_vpm
  kwiversys
  ${Boost_FILESYSTEM_LIBRARY}
  ${Boost_SYSTEM_LIBRARY})

set(sprokit_test_pipelines_directory
  "${sprokit_test_data_directory}/pipelines")

sprokit_discover_tests(load_pipe      test_libraries test_load_pipe.cxx        "${sprokit_test_pipelines_directory}")
sprokit_discover_tests(pipe_bakery    test_libraries test_pipe_bakery.cxx      "${sprokit_test_pipelines_directory}")
sprokit_discover_tests(export_dot     test_libraries test_export_dot.cxx       "${sprokit_test_pipelines_directory}")
sprokit_discover_tests(lex_processor  test_libraries test_lex_processor.cxx    "${sprokit_test_pipelines_directory}")
